<div style="padding:5px 15px 15px 15px">
	<table class="table">
		<col style="width:20%;" />
		<col style="" />
		<thead>
			<tr>
				<th colspan="2" style="text-align: center;font-size: 20px;">
					新建Banner
				</th>
			</tr>
		</thead>
		<tr>
			<th>标题</th>
			<td><input type="input" style="width:100%" ng-model="banner.title"/></td>
		</tr>

		<tr>
			<th>类型</th>
			<td>
				<select  data-ng-options="type.value as type.name for type in types" ng-model="banner.type">
                            			<option value="">--banner类型--</option>
                        		  	</select>
			</td>
		</tr>

		<tr>
			<th>是否显示</th>
			<td>
			  <select  data-ng-options="isshow.value as isshow.name for isshow in isshows" data-ng-model="banner.isshow">
                            		<option value="">--是否显示--</option>
                        		  </select>
			</td>
		</tr>

		<tr>
			<th>链接</th>
			<td><input type="input"  style="width:100%"  ng-model="banner.url"/></td>
		</tr>

		<tr>
			<th>图片</th>
			<td>
				<div qiniu-upload class="addcer drop" uptoken-url="admin/banner/image/uptoken" id="pickfilesAdd" files="courseAddImages">123</div>
			</td>
		</tr>

		<tr>
			<th>分享链接</th>
			<td><input type="input"  style="width:100%"  ng-model="banner.shareurl"/></td>
		</tr>

		<tr>
			<th>分享图片</th>
			<td>
				<input type="input"  style="width:100%"  ng-model="banner.shareimage"/>
			</td>
		</tr>

		<tr>
			<th>描述</th>
			<td><textarea style="width:100%;height:125px;" ng-model="banner.description"></textarea></td>
		</tr>
	</table>
	<div style="text-align: center;">
		<input type="button" class="btn btn-primary" ng-click="addBanner()" style="margin-right:20px;" value="保存" />
		<input type="button" class="btn btn-default" ng-click="closeModel()" value="关闭" />
	</div>
	<div  id="container" style="display: none"></div>
	
</div>